projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5616ee4
)
(rmail-quit): run `rmail-quit-hook'.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 18 Jan 1999 02:32:36 +0000
(
02:32
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 18 Jan 1999 02:32:36 +0000
(
02:32
+0000)
lisp/mail/rmail.el
patch
|
blob
|
history
diff --git
a/lisp/mail/rmail.el
b/lisp/mail/rmail.el
index 25380f17c59033c12ab6e0d9c53f453418d6edc9..f9f092f86797b128687d1b3cfcaff958559e5968 100644
(file)
--- a/
lisp/mail/rmail.el
+++ b/
lisp/mail/rmail.el
@@
-1022,9
+1022,12
@@
Instead, these commands are available:
(rmail-select-summary (set-buffer-modified-p nil))))
(defun rmail-quit ()
- "Quit out of RMAIL."
+ "Quit out of RMAIL.
+Hook `rmail-quit-hook' is run after expunging."
(interactive)
(rmail-expunge-and-save)
+ (when (boundp 'rmail-quit-hook)
+ (run-hooks 'rmail-quit-hook))
;; Don't switch to the summary buffer even if it was recently visible.
(when rmail-summary-buffer
(replace-buffer-in-windows rmail-summary-buffer)